import java.util.Random;

/**
 *
 * @author WangJX
 * @version 1.0
 * @date 2019/11/25 18:09
 */
public class RandomNum {
    public static final  int getRandInt(int fromNum,int toNum){
        return   fromNum+ new Random().nextInt(toNum-fromNum+1);
    }
}
